package com.woniuxy.hotel.user.mapper;

import com.woniuxy.hotel.user.pojo.Vip;
import org.apache.ibatis.annotations.Select;

public interface VipMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Vip record);

    int insertSelective(Vip record);

    Vip selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Vip record);

    int updateByPrimaryKey(Vip record);

    @Select("select * from vip where vid = #{id}")
    Vip findVipByCid(int cid);
    int updateBatchPM(Vip vips);
}